package com.gnerv.sylvanas.extend.rabbit.autoconfigure;

import lombok.Data;
import org.springframework.boot.autoconfigure.amqp.RabbitProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * @author ligen
 */
@Data
@ConfigurationProperties(prefix = "spring.rabbitmq")
public class ExtendRabbitProperties {

    private String primary = "master";
    private Boolean strict = false;
    private Map<String, RabbitProperties> multiCenter;

}
